<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  <link rel="stylesheet" href="/css/panel.css" />
  <link rel="stylesheet" href="/css/common.css" />
  <title>Control Panel</title>
</head>
<body id="panel">

  <div id="main">
    <div class="login">
      <?php if (isset($_GET['forbidden'])): ?>
      
      <div id="forbidden">Access to page forbidden. You should login first</div>
      <?php endif; ?>
      
      <div id="message"><?=$message ?></div>
      <form action="/panel/login/?redirect=<?=isor($_GET['redirect'],'/') ?>" method="post">
        <p>Login</p>
        <input type="text" name="login" id="login" />
        <p>Password</p>
        <input type="password" name="pwd" id="pwd" />
        <p><label><input type="checkbox" name="ip" id="ip" value="1" id="ip" />Remember IP</label></p>
        <input type="submit" name="sub" value="login" onclick="//ulogin(); return false;" />
        <p></p>
      </form>
    </div>
  </div>
</body>
</html>